#ifndef __GENERAL_TASK_H__
#define __GENERAL_TASK_H__

#include "stdint.h"
#include "ucos_ii.h"

#define     MAX_TASK_CNTS                4

#define     APP_TASK_START_PRIO      4
#define     APP_TASK_STK_SIZE        1024


int8_t get_next_prio();
int8_t create_task(void (*task)(void *p_arg), char *task_name);

#endif